import { http } from '@/utils/http'
// 首页广告区域
export const getHomeBannerAPI = (distributionSite: any = 1) => {
  return http({
    methods: 'GET',
    url: '/home/banner',
    data: {
      distributionSite,
    },
  })
}
// 首页-前台分类
export const getHomeCategoryAPI = () => {
  return http({
    methods: 'GET',
    url: '/home/category/mutli',
  })
}
// 首页-热门推荐
export const getHomeHotAPI = () => {
  return http({
    methods: 'GET',
    url: '/home/hot/mutli',
  })
}
// 猜你喜欢
export const getHomeGoodsGuessLikeAPI = (data?: any) => {
  return http({
    methods: 'GET',
    url: '/home/goods/guessLike',
    data,
  })
}
